<%-- 
    Document   : payment
    Created on : 17-dec-2012, 20:44:50
    Author     : Thijmen
--%>

<%@include file="_header.jsp"%>
<title>${inhoud.paymentTitle}</title>
</head>
<body>
    <c:choose>
        <c:when test="${userLevel == null}">
            <%@include file="errorPage.jsp"%>
        </c:when><c:otherwise>
            <%@include file="_menu.jsp"%>

            <div class="sidebar">

                <div class="redbar"><a href="#"><div id="bar-textcontent">${inhoud.paymentTitle}</div></a>
                </div>
                <div id="sidescreen">

                    <ul class="thumbnails">
                        <li class="span4">
                            <div class="thumbnail">
                                <h3>${inhoud.paymentTitle}</h3>
                                <img src="icons/payment.png" alt="">

                                <p> ${inhoud.paymentT} </p>
                            </div>
                        </li>
                    </ul>


                </div>



            </div>

            <div class="wrappermain">


                <div class="digitalclass">
                    <div id="subheader">  </div>






                    <div class="main-digital">

                        <p>

                        <div id="redirect" style="display: block">${inhoud.paymentT2}
                            
    <FORM METHOD="post" ACTION="https://secure.ogone.com/ncol/test/orderstandard_UTF8.asp" id=form1 name=form1>
	<INPUT type="hidden" NAME="PSPID" value="ProjectDigitalLearningg">
                                <input type="hidden" name="ORDERID" value="1">
                                <input type="hidden" name="AMOUNT" value="{$course.price}">
                                <input type="hidden" name="CURRENCY" value="EUR">
                                <input type="hidden" name="LANGUAGE" value="nl_NL">
                                <input type="hidden" name="CN" value="Johnny Test">
                                <input type="hidden" name="EMAIL" value="">
                                <input type="hidden" name="OWNERZIP" value="">
                                <input type="hidden" name="OWNERADDRESS" value="">
                                <input type="hidden" name="OWNERCTY" value="">
                                <input type="hidden" name="OWNERTOWN" value="">
                                <input type="hidden" name="OWNERTELNO" value="">
                                <!-- controle voor de betaling: zie Beveiliging: Controle voor de betaling -->
                                <input type="hidden" name="SHASIGN" value="">
                                <!-- layout informatie: zie ?Look and feel? van de betaalpagina -->
                                <input type="hidden" name="TITLE" value="">
                                <input type="hidden" name="BGCOLOR" value="">
                                <input type="hidden" name="TXTCOLOR" value="">
                                <input type="hidden" name="TBLBGCOLOR" value="">
                                <input type="hidden" name="TBLTXTCOLOR" value="">
                                <input type="hidden" name="BUTTONBGCOLOR" value="">
                                <input type="hidden" name="BUTTONTXTCOLOR" value="">
                                <input type="hidden" name="LOGO" value="">
                                <input type="hidden" name="FONTTYPE" value="">
                                <!-- feedback na de betaling: zie Transactie feedback naar de klant -->
                                <input type="hidden" name="ACCEPTURL" value="http://localhost:8084/32LNew/payment?action=succes">
                                <input type="hidden" name="DECLINEURL" value="http://localhost:8084/32LNew/payment?action=failed">
                                <input type="hidden" name="EXCEPTIONURL" value="http://localhost:8084/32LNew/payment?action=failed">
                                <input type="hidden" name="CANCELURL" value="http://localhost:8084/32LNew/payment?action=failed">
                                <input type="submit" value="${inhoud.paymentT3}" id=submit2 name=submit2>
                            </form>

                        </div>
                        <div id="succes" style="display: none">${inhoud.paymentT4}
                            <a href="subscribe_to_course"><img src="icons/next_button.png"></a>
                        </div>



                        </p>
                    </div>
                </div>
            </div>

            <a></a>
        </c:otherwise></c:choose>
</body>
</html>
